package com.zl.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zl.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop extends BaseDomain {
   @Excel(name = "店铺信息",width = 30)
   private String name;

   @Excel(name = "电话",width = 30)
   private String tel;

   @Excel(name = "时间",width = 30,exportFormat="yyyy-MM-dd")
   @JsonFormat(pattern = "yyyy-MM-dd")
   private Date registerTime = new Date();

   @Excel(name = "状态",width = 30)
   private Integer state =1;

   @Excel(name = "地址",width = 50)
   private String address;

   @Excel(name = "logo",width = 30)
   private String logo;
   private Long admin_id;
   private Employee employee;
}
